package com.margo.project.web.listener;

import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

@WebListener
public class MargoHttpSessionListener implements HttpSessionListener{

    public void sessionCreated(HttpSessionEvent se) {
    	System.out.println("session创建");
    }

    public void sessionDestroyed(HttpSessionEvent se) {
    	System.out.println("session销毁");
    }
}
